package com.roadmap.entities;

import java.util.Date;

import com.roadmap.common.BaseConst;
import com.roadmap.common.BaseEntity;

public class Notice extends BaseEntity {
	private String dispatcherId;
	private String recipientId;
	private String activity;
	private String entryType;
	private String entryId;
	private String entryDesc;
	private int visibility;
	private int status;

	public Notice() {
		this.visibility = BaseConst.ENTRY_VISIBILITY_PROTECTED;
		this.status = BaseConst.MESSAGE_STATUS_UNREAD;
		this.setCreatedTime(new Date());
	}

	public String getDispatcherId() {
		return dispatcherId;
	}

	public void setDispatcherId(String dispatcherId) {
		this.dispatcherId = dispatcherId;
	}

	public String getRecipientId() {
		return recipientId;
	}

	public void setRecipientId(String recipientId) {
		this.recipientId = recipientId;
	}

	public String getActivity() {
		return activity;
	}

	public void setActivity(String activity) {
		this.activity = activity;
	}

	public String getEntryType() {
		return entryType;
	}

	public void setEntryType(String entryType) {
		this.entryType = entryType;
	}

	public String getEntryId() {
		return entryId;
	}

	public void setEntryId(String entryId) {
		this.entryId = entryId;
	}

	public String getEntryDesc() {
		return entryDesc;
	}

	public void setEntryDesc(String entryDesc) {
		this.entryDesc = entryDesc;
	}

	public int getVisibility() {
		return visibility;
	}

	public void setVisibility(int visibility) {
		this.visibility = visibility;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

}
